package com.ht.dao;

import java.util.List;

import com.ht.model.User;

public interface UserDao {
	
	public List<User> findUserByExample(User user);
	
	public void insertUser(User user);
	
	public int insertToUser(User user);

	public int deleteUser(User user);

	public int updateUser(User user);
		
	public User getUserById(User user);
		
	public List selectByCon(User user,int curPage,int pageSize);
		
	public int getRecordCount(User user);	
	
	public User getUserByUsername(String name);
}
